<%--
  Created by IntelliJ IDEA.
  User: Mazai
  Date: 2021/6/2
  Time: 14:53
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<!doctype html>
<html class="no-js" lang="zxx">
<head>
    <meta charset="utf-8">
    <meta content="ie=edge" http-equiv="x-ua-compatible">
    <title>Shop | eCommers</title>
    <meta content="" name="description">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <link href="../assets/img/icon/favicon.png" rel="shortcut icon" type="image/x-icon">

    <!-- CSS here -->
    <link href="../assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="../assets/css/owl.carousel.min.css" rel="stylesheet">
    <link href="../assets/css/slicknav.css" rel="stylesheet">
    <link href="../assets/css/flaticon.css" rel="stylesheet">
    <link href="../assets/css/animate.min.css" rel="stylesheet">
    <link href="../assets/css/price_rangs.css" rel="stylesheet">
    <link href="../assets/css/magnific-popup.css" rel="stylesheet">
    <link href="../assets/css/fontawesome-all.min.css" rel="stylesheet">
    <link href="../assets/css/themify-icons.css" rel="stylesheet">
    <link href="../assets/css/slick.css" rel="stylesheet">
    <link href="../assets/css/nice-select.css" rel="stylesheet">
    <link href="../assets/css/style.css" rel="stylesheet">
</head>
<body>

<form action="/user/register.do" method="post">
    <!-- header end -->
    <main class="login-bg">
        <!-- Register Area Start -->
        <div class="register-form-area">
            <div class="register-form text-center">
                <!-- Login Heading -->
                <div class="register-heading">
                    <span>注册</span>
                    <p>创建您的帐户以获得完全访问权限</p>
                </div>
                <!-- Single Input Fields -->
                <div class="input-box">
                    <div class="single-input-fields">
                        <label>名称</label>
                        <input name="name" placeholder="输入 名称" type="text">
                    </div>
                    <div class="single-input-fields">
                        <label>密码</label>
                        <input name="password" placeholder="输入 密码" type="password">
                    </div>
                    <div class="single-input-fields">
                        <label>国家</label>
                        <select name="country" selected="selected">
                            <c:forEach items="${countryIterator}" var="country" varStatus="status">
                                <option value="${country.countryid}">${country.countryName}</option>
                            </c:forEach>
                        </select>
                    </div>
                    <div class="single-input-fields">
                        <label>省份</label>
                        <select name="province" selected="selected">
                            <c:forEach items="${provinceIterator}" var="province" varStatus="status">
                                <option value="${province.provinceid}">${province.provinceName}</option>
                            </c:forEach>
                        </select>
                    </div>
                </div>
                <br>
                <!-- form Footer -->
                <div class="register-footer">
                    <p> 已经有账号了? <a href="${pageContext.request.contextPath}/user/login.jsp"> 点此登录</a></p>
                    <button class="submit-btn3" type="submit">注册</button>
                </div>
            </div>
        </div>
        <!-- Register Area End -->
    </main>
</form>


<jsp:include page="${pageContext.request.contextPath}/common/js.jsp"></jsp:include>
</body>
</html>
